using switch in customTkinter